package com.hwz.service;

import com.hwz.dto.EmployeeDTO;
import com.hwz.dto.EmployeeLoginDTO;
import com.hwz.dto.EmployeePageQueryDTO;
import com.hwz.entity.Employee;
import com.hwz.result.PageResult;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void addEmployee(EmployeeDTO employeeDTO);

    PageResult queryEmployee(EmployeePageQueryDTO employeePageQueryDTO);

    void startOrStop(Long id, Integer status);

    Employee getEmployeeById(Long id);

    void updateEmployee(EmployeeDTO employeeDTO);
}
